//
//package test.model.tx;
//
//import keter.framework.model.Codelist;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
//import com.jfinal.aop.Before;
//import com.jfinal.aop.Enhancer;
//import com.jfinal.plugin.activerecord.tx.Tx;
//
//
///**
// * <p>Class       : test.tx.CodeListServiceMock
// * <p>Descdription: 模拟codelist service类，用于"事务"测试
// * @author  顾力行-gulixing@msn.com
// * @version 1.0.0
// */
//public class CodeListServiceMock{
//    /**
//     * Logger for this class
//     */
//    private static final Logger logger = LoggerFactory.getLogger(CodeListServiceMock.class);
//    
//    //jFinal aop Enhancer对象
//    public static CodeListServiceMock service = Enhancer.enhance(CodeListServiceMock.class);
//    
//    @Before(Tx.class)
//    public  void save(Codelist cl1, Codelist cl2){
//        cl1.save();  
//        int i = 1/0;
//        cl2.save();  
//    }
//    
//}
